A=isfield(S,'name')
B=isfield(S,'id')
isstruct(S)
